package cn.hd.userService.service.role;

import cn.hd.commonService.entity.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hd
 * @since 2022-06-26
 */
public interface ISysUserRoleService extends IService<SysUserRole> {

    public List<SysUserRole> getSysUserRoleByUserId(Integer userId,Integer roleId);

    public void saveRelation(String roleIds,String userIds);

    public List<SysUserRole> getSysUserRoleByUserId(int userId);

}
